#!/usr/bin/env python3
# -*- coding: utf-8 -*-

__autho__ = "Tony.Don"
__lastupdatetime__ = "2017/09/29"
from abc import ABC,abstractmethod
'''
class\r\n
    core.rule.rule\r\n
description\r\n
    规则抽象\r\n
'''
class rule:
    #初始化
    def __init__(self,domain):pass
    #获分析取规对象
    #return lists: 
    #  [0]object:webanalysis
    @abstractmethod
    def getRule(self):pass

    #分析回调方法
    #在此类实现规则算法
    @abstractmethod
    def callback(self,args):pass